<include file="Public:header"/>
<h3>总状态</h3>
<table class="table table-striped">
    <tr>
        <td>总维护任务</td>
        <td>作废</td>
        <td>未完成</td>
        <td>等待分配</td>
    </tr>
    <tr>
        <td>{$allCount|intval}</td>
        <td><span class="label label-important">{$cancelCount|intval}</span>
        </td>
        <td><span class="label label-warning">{$waitCount|intval}</span>
        </td>
        <td><span class="label label-info">{$waitAllotCount|intval}</span>
        </td>
    </tr>
</table>
<h3>等待处理</h3>
<table class="table table-striped">
    <tr>
        <td>1展示底图</td>
        <td>2小图底图</td>
        <td>3添加品牌</td>
        <td>4商场海报</td>
        <td>5楼层中图</td>
        <td>6商品特卖</td>
        <td>7优惠领取</td>
    </tr>
    <tr>
        <td>{$wait1}</td>
        <td>{$wait2}</td>
        <td>{$wait3}</td>
        <td>{$wait4}</td>
        <td>{$wait5}</td>
        <td>{$wait6}</td>
        <td>{$wait7}</td>
    </tr>
</table>
<table class="table">
    <if condition="$login_role['role_id'] eq 3">
        <tr>
            <td>
                <a href="{:U('/Task/Material/statistics')}">
                    <span class="label">任务管理</span>
                </a>
            </td>
            <td>
                <a href="{:U('/Task/Material/pull')}" class="btn btn-primary">领取</a>
            </td>
            <td>
                <a href="{:U('/Task/Material/task')}" class="btn">任务</a>
            </td>
        </tr>
    </if>
    <if condition="$login_role['role_id'] eq 5">
        <tr>
            <td><span class="label">计划管理</span></td>
            <td>
                <a href="{:U('/Task/Plan/index')}" class="btn">列表</a>
            </td>
            <td>
                <a href="{:U('/Task/Material/add')}" class="btn">添加</a>
            </td>
            <td></td>
        </tr>
    </if>
</table>
<include file="Material:info"/>
<include file="Public:footer"/>
<script type="text/javascript" src="__STATIC__/task/js/artist.js"></script>